Guided Practice 8.2: Halting Measures

True/False: Which of the following is a valid halting measure for even-elements, and why?

  1. the largest element of lst
  2. the number of distinct elements of lst
  3. the sum of the elements of lst
  4. the length of lst

[ANSWER]


Last modified: Sun Oct 19 15:18:53 Eastern Daylight Time 2014